package com.dinner.model;


public final class Order implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 251616511168707258L;
	
	public static final transient byte CONSUMER_ORDERED 	= 1 << 1;
	public static final transient byte ORDER_HANDLED 		= 1 << 2;
	public static final transient byte BUSINESS_COMPLETED 	= 1 << 3;

	private int orderID;
	private String consumerID = null;
	private String menuItemName = null;
	private String sellerID = null;
	private String orderTime = null;
	private String orderAddress = null;
	private String orderPhone = null;
	private int serveCount;
	private float totalPrice;
	private byte orderState;
	/**
	 * @return the orderID
	 */
	public int getOrderID() {
		return orderID;
	}
	/**
	 * @param orderID the orderID to set
	 */
	public void setOrderID(int orderID) {
		this.orderID = orderID;
	}
	/**
	 * @return the consumerID
	 */
	public String getConsumerID() {
		return consumerID;
	}
	/**
	 * @param consumerID the consumerID to set
	 */
	public void setConsumerID(String consumerID) {
		this.consumerID = consumerID;
	}
	/**
	 * @return the sellerID
	 */
	public String getSellerID() {
		return sellerID;
	}
	/**
	 * @param sellerID the sellerID to set
	 */
	public void setSellerID(String sellerID) {
		this.sellerID = sellerID;
	}
	/**
	 * @return the orderTime
	 */
	public String getOrderTime() {
		return orderTime;
	}
	/**
	 * @param orderTime the orderTime to set
	 */
	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}
	/**
	 * @return the orderAddress
	 */
	public String getOrderAddress() {
		return orderAddress;
	}
	/**
	 * @param orderAddress the orderAddress to set
	 */
	public void setOrderAddress(String orderAddress) {
		this.orderAddress = orderAddress;
	}
	/**
	 * @return the orderPhone
	 */
	public String getOrderPhone() {
		return orderPhone;
	}
	/**
	 * @param orderPhone the orderPhone to set
	 */
	public void setOrderPhone(String orderPhone) {
		this.orderPhone = orderPhone;
	}
	/**
	 * @return the serveCount
	 */
	public int getServeCount() {
		return serveCount;
	}
	/**
	 * @param serveCount the serveCount to set
	 */
	public void setServeCount(int serveCount) {
		this.serveCount = serveCount;
	}
	/**
	 * @return the totalPrice
	 */
	public float getTotalPrice() {
		return totalPrice;
	}
	/**
	 * @param totalPrice the totalPrice to set
	 */
	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
	}
	/**
	 * @return the orderState
	 */
	public byte getOrderState() {
		return orderState;
	}
	/**
	 * @param orderState the orderState to set
	 */
	public void setOrderState(byte orderState) {
		this.orderState = orderState;
	}
	/**
	 * @return the menuItemName
	 */
	public String getMenuItemName() {
		return menuItemName;
	}
	/**
	 * @param menuItemName the menuItemName to set
	 */
	public void setMenuItemName(String menuItemName) {
		this.menuItemName = menuItemName;
	}
	
	
}
